-
Home
-
Shopz GraphQL API for WooCommerce
-
2.1.0
-
Code
-
Classes
- WPMLTranslator
Total Complexity |
24 |
Dependencies |
6 |
Dependents |
0 |
Total lines |
166 |
Lines of code |
112 |
Logical lines of code |
63 |
Comment lines |
0 |
Methods |
14 |
Properties |
4 |
Methods 14
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
__construct() |
S |
56 |
4 |
17 |
get_translated_id() |
S |
62 |
2 |
13 |
translate_term() |
S |
62 |
2 |
11 |
translate_product() |
S |
63 |
2 |
11 |
translate_post() |
S |
62 |
2 |
11 |
set_language() |
S |
68 |
2 |
7 |
translate_category() |
S |
64 |
2 |
10 |
translate_posts_category() |
S |
65 |
2 |
9 |
is_available() |
S |
79 |
1 |
3 |
get_default_language() |
S |
75 |
1 |
4 |
get_language() |
S |
79 |
1 |
3 |
get_languages() |
S |
82 |
1 |
3 |
translate_string() |
S |
76 |
1 |
3 |
getTranslations() |
S |
67 |
1 |
7 |